package com.zretc.api.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Notice {
    private Integer id;
    private Integer createdBy;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:dd")
    private Date createdAt;
    private Integer updateBy;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:dd")
    private Date updateAt;
    private String title;
    private String content;
    private boolean topped;

}
